# Code options
#----------------------------------------------------------

# Comp mode selection
#----------------------------------------------------------
COMPMODE = "optimised"
COMPMODE = "debug"

# System selection
#----------------------------------------------------------
include Makeopt.intel.green

# Compilation
#----------------------------------------------------------
OPTIONS         = $(OPT)
EXEC            = format_converter
OBJS            = format_converter.o

all: format_converter

format_converter : format_converter.o 
	$(FC) $(FOPT) $(INC) $(MOD) $(OPTIONS) $(LIB) $(OBJS) $(MOD) $(RUN) *.o -o $(EXEC)
format_converter.o : format_converter.f
	$(FC) $(FOPT) $(INC) $(MOD) $(OPTIONS) $(LIB) $(OBJS) $(MOD) $(RUN) -c format_converter.f
clean:
	\rm -f *.o *~ $(EXEC)


